package cn.rxmind.dlog.common;
/**
 *
 * @description 这里用于收集接口请求数据
 *
 * @author renxin
 * @email renxinzhiliangzhi@163.com
 * @date 2020/7/11 2:37 下午
 */
public class DLogLocalData {

    private static ThreadLocal<DLogData> logData = new ThreadLocal<>();

    public static void setLogData(DLogData dLogData){
        logData.set(dLogData);
    }

    public static DLogData getDLogData(){
        return logData.get();
    }

    public static void remove(){
        logData.remove();
    }

}
